home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / CAD / HPSRT08.ARJ / HPSORT.HLP < prev    next >
Text File  |  1991-03-30  |  21KB  |  553 lines

  1.  
  2.  
  3. @@open_menu
  4.  
  5.                    HPSORT Configuration Utility
  6.                Copyright 1991, All rights reserved
  7.  
  8.                            CNT Software
  9.                         1615 Highland Ave.
  10.                       Janesville, Wi  53545
  11.  
  12.                BBS support on "JADE" (608) 752-7840
  13.  
  14. HPSORT represents many hours of work.  Please help fight the high
  15. cost of computer software by supporting the "Shareware" concept.
  16. If you find HPSORT of value, please register.  This will help
  17. fund enhancements to this program.   Refer to the order form in
  18. file HPSORT.DOC to register.
  19.  
  20.      No other remuneration may be accepted for HPSORT except
  21.      by CNT Software.
  22.  
  23.           Trademarks mentioned in this program are the
  24.           properties of their respective companies.
  25. @@sort_and_compress
  26. This is HPSORT's normal mode of operation.  In this mode, HPSORT
  27. will sort the input file to reduce pen motion, then compress the
  28. output file.
  29.  
  30. Use this mode if your CAD program does not do Pen Motion
  31. Optimization.
  32. @@compress_only
  33. This is a subset of HPSORT's normal mode of operation.  In this
  34. mode, HPSORT does not change the order of the vectors in the
  35. drawing.  But rather just outputs the file in a compressed
  36. format.  This will typically reduce file size to 60% of normal.
  37.  
  38. Use this mode if you CAD program does do Pen Motion Optimization
  39. and you need to reduce the size of your file.  An example would
  40. be using the Compress option to reduce the size of your file
  41. before modeming it to a service bureau for plotting.
  42. @@nearzeromovedelta
  43. This parameter drops unnoticeable short moves.  It controls the
  44. pen motion from the end of one vector to the start of the next. 
  45. The parameter states: 
  46.  
  47.      When the end of the vector just drawn is closer than
  48.      this distance from the starting point of the next
  49.      vector, the pen will not move to the starting point of
  50.      the next vector.
  51.  
  52. As an example consider the following sequence:
  53.  
  54. a.   Move with pen up to position #1.
  55. b.   Lower the pen and draw a line from point #1 to #2.
  56. c.   Raise the pen up and move to position #3.
  57. d.   Lower the pen and draw a line from point #3 to #4.
  58.  
  59. The two lines from #1 to #2 and from #3 to #4 would be drawn as
  60. shown in figure to the right.
  61.  
  62. This is how they will appear when the distance from Points #2 to
  63. #3 is larger than this parameter.
  64.  
  65. When the distance between points
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.                                    Example Plot of Two Lines
  74.                                    Close Together#1--------------------#2
  75.                                            
  76.  
  77.                                                                 
  78.                                                       #4---#3#2 and #3 is less than or equal
  79. to this parameter, then above
  80. example would generate the
  81. following sequence:
  82.  
  83. a.   Move with pen up to position
  84.      #1.
  85. b.   Lower the pen and draw a
  86.      line from point #1 to
  87.      #(2&3).
  88. d.   Lower the pen and draw a line from point #(2&3) to #4.
  89.  
  90. Note in figure to right that
  91.                                 #1-------------------+#(2&3)
  92.                                                     /
  93.                                                    /
  94.                                                   #4a single point replaces
  95. points #2 and #3.  This ef-
  96. fect noticed on parallel
  97. lines drawn close together,
  98. but still separate.
  99.  
  100. Typical value is 1/10
  101. smallest pen size used.  For
  102. 0.35mm pen would be 0.035mm.  Range is 0 to 1.5mm.
  103. @@pen_width_move_delta
  104. This parameter removes pen up/down motions that are so short that
  105. they are unnoticeable.  Plotting speed is increased because the
  106. pen is not lifted as much.  HPSORT does this by drawing a line
  107. between the two points that should not be there.   When this
  108. parameter is set correctly, the line is unnoticeable.   This
  109. parameter says: 
  110.  
  111.      When the end of the vector just drawn is closer than
  112.      this distance from the starting point of the next
  113.      vector, a line  connects the points without the pen
  114.      lifting from the paper.
  115.  
  116. As an example consider the following sequence:
  117.  
  118. a.   Move with pen up to position #1.
  119. b.   Lower the pen and draw a line from point #1 to #2.
  120. c.   Raise the pen up and move to position #3.
  121. d.   Lower the pen and draw a line from point #3 to #4.
  122.  
  123. The two lines from #1 to #2 and
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.                                    Example Plot of Two Lines
  132.                                    Close Together#1--------------------#2
  133.                                            
  134.  
  135.                                                                 
  136.                                                       #4---#3from #3 to #4 would be drawn as
  137. shown in figure to the right.
  138.  
  139. This is how they will appear when
  140. the distance from Points #2 to #3
  141. is larger than this parameter.
  142.  
  143. When the distance between points
  144. #2 and #3 is less than or equal
  145. to this parameter, then above
  146. example would generate the following sequence:
  147.  
  148. a.   Move with pen up to position #1.
  149. b.   Lower the pen and draw a line from point #1 to #2.
  150. c.   Lower the pen and draw a line from point #2 to #3.
  151. d.   Lower the pen and draw a line from point #3 to #4.
  152.  
  153. The figure to right is how the above example would be drawn. 
  154. Note the line appearing between points #2 and #3 that was not in
  155. the original sequence.
  156.  
  157. Typical values are 1/2 to 1/4
  158.                                      #1-------------------+#2
  159.                                                           | 
  160.                                                           |
  161.                                                           |     
  162.                                                      #4---+#3smallest pen size used.    Range
  163. is 0 to 1.5mm.
  164. @@max_rel_move
  165. This defines the maximum move
  166. size in relative mode in plotter
  167. units.  Some plotters ignore
  168. large relative moves, for example
  169. the HP 7450 DraftPro.  For moves
  170. larger than this parameter,  HPSORT uses absolute moves instead
  171. of relative moves.  For most plotters, 16,000 appears to be a
  172. good value. 
  173. @@vector_resync_count
  174. HPSORT uses primarily "relative" positioning.  This is one of the
  175. major techniques used to reduce file size.  In this mode, each
  176. pen move is the delta x, delta y from the end of the last pen
  177. move.  When positioning in relative mode, this parameter controls
  178. how often an absolute positioning command is issued to correct
  179. for any positioning errors in the plotter.
  180.  
  181.           What is "absolute" and "relative" positioning?
  182.  
  183. Absolute positioning is where each command tells the plotter
  184. exactly where to position the pen on the paper independent of any
  185. other move.  Therefore, the pen is always in the position where
  186. the CAD program expects it to be.  An example would be -
  187.  
  188.      Move Pen Up to 1000,1000
  189.      Place Pen Down
  190.      Move to 1400,1000
  191.      Move to 1400,1400
  192.      Move to 1000,1400
  193.      Move to 1000,1000
  194.  
  195. The numbers are in plotter units and draw a square 1 cm on a
  196. side.
  197.  
  198.  
  199.  Using the same example as above, HPSORT would output 
  200.  
  201.      Move Pen Up to 1000,1000 in absolute mode
  202.      Place Pen Down
  203.      Shift to relative mode 
  204.      Move right 400 units
  205.      Move up 400 units
  206.      Move left 400 units
  207.      Move down 400 units
  208.  
  209. Notice that in the relative example, there is only one command to
  210. tell the plotter exactly where to move.  The rest of the commands
  211. are move left, right, up or down commands.  They assume that the
  212. plotter pen is where it is suppose to be.  Due to cumulative
  213. errors in both calculations and mechanical positioning in the
  214. plotter, every once in a while, a absolute positioning command
  215. must be done. 
  216.  
  217. The larger this parameter, the more the file size is reduced. 
  218. But the larger the chance of plotting errors.  Legal values range
  219. from 2 to 999.  Values of 5 to 20 are effective.
  220. @@short_near_vector_lengh
  221. Before sending a vector to the output device, HPSORT checks to
  222. see if a "short" vector touches it.  If yes, then HPSORT draws
  223. the "short" vector first.  Range is 0 to 99.99mm, with 5 to 10mm
  224. being a good value.  If this value is too large, it is counter
  225. productive towards sorting.  
  226.  
  227. Consider the lines in the
  228.                                   #1
  229.                                     \
  230.                                      \
  231.                                       \
  232.                                     #2 +--------------------#3figure to the right. During
  233. the sorting process,  HPSORT
  234. decides the next line to draw
  235. is from points #2 to #3.
  236.  
  237. This parameter instructs
  238. HPSORT to check to see if a
  239. "short" line is connected to
  240. the line about to be drawn.  In this case, it is the line from
  241. points #1 to #2.  If the length of the line from points #1 to #2
  242. is less than or equal to the value of this parameter, then HPSORT
  243. will output the following sequence:
  244.  
  245. a.   Move with the pen up to position #1.
  246. b.   Lower the pen and draw a line from point #1 to #2.
  247. c.   Lower the pen and draw a line from point #2 to #3.
  248.  
  249.  
  250. @@check_circle_radius
  251. Circles are a special case when compared to all of the other
  252. types of line drawing commands.  When at a start or end of a
  253. line, HPSORT checks to see if a circle is either touching or
  254. centered on the current position.  If yes, then send the circle
  255. to the output device.  
  256.  
  257. This parameter controls how close the circle be in order to be
  258. checked.  If it is too small, HPSORT misses the circle during the
  259. normal processing and is outputted during the cleanup phase.  If
  260. it is too large, then it will slow down normal vector processing
  261. by needlessly checking too many circles.  A good value is
  262. dependant upon the average circle size.  Range of legal values is
  263. 0.01 to 99.99mm.  Values of 5 to 10mm are effective.
  264.  
  265. If HPSORT draws too many circles during the cleanup phase of the
  266. processing, try increasing this value.
  267. @@lt_divider
  268. When not using ORCAD, set value to 1.00.
  269.  
  270. The method ORCAD uses to draw dashed lines is not compatible with
  271. the internal structure HPSORT uses to represent drawings inter-
  272. nally.  See "Ignore IP Command" (next parameter) for details. 
  273. This parameter is a compromise that scales the "dash" in the
  274. dashed line to fit the paper.  Values are dependant upon the
  275. normal drawing size:
  276.  
  277.                         Paper Size   Value
  278.                         ----------   -----
  279.                          A to B       1.5
  280.                          B to C       2.5
  281.                          C to D       3.5
  282.                          D to E       4.5
  283.                          B to D       3.0
  284. @@ignore_IP_cmd
  285. When not using ORCAD, set value to NO.  
  286.  
  287. The IP is the "Input P1 and P2" command.  This permits the
  288. computer to redefine the meaning of P1 and P2 (refer to the
  289. plotter manual for definition of P1 and P2).
  290.  
  291. The method ORCAD uses to output dashed lines is different other
  292. packages.  The HP plotter language defines dashed lines is as a
  293. percentage of the distance from the opposite corners of the
  294. paper.  ORCAD, "redefines" the corners of the paper, using the
  295. "IP" command to an "A" size drawing, draws the dashed line and
  296. then redefines the paper size back to normal.
  297.  
  298. Normally, when HPSORT finds an IP command, it outputs the con-
  299. tents of the label and vector buffers, then outputs the IP
  300. command.  ORCAD uses this command for dashed lines. This stops
  301. the pen motion optimization process whenever dashed lines are
  302. encounter.  When using ORCAD, set value to YES.
  303.  
  304. @@swap_poly_to_disc
  305. This parameter enables the rest of the options on this screen. 
  306. If YES, the swapping is enabled.
  307.  
  308. Electrical schematics usually do not benefit significantly from
  309. this option.  Mechanical drawings, particular drawings by
  310. AUTOCAD, and PCB Layouts benefit significantly by setting this
  311. parameter to YES.
  312. @@collapse_rectangles
  313. Set to NO.  Current version does not support this option.
  314. @@polygon_swap_drive
  315. Letter of the drive to use for buffering to disc.  HPSORT uses
  316. the current drive and directory if this field is blank.  If more
  317. than one hard drive is available, use the fastest one available.
  318.  
  319. If a RAAM drive is present, size of 400kb is usually enough.  If
  320. running from a network, using the local hard drive will give
  321. better performance rather that a drive on the file server.
  322. @@print_poly_swap_stats
  323. This parameter turns on the printing of the swapping statistics. 
  324. These statistics are useful in adjusting the other parameters
  325. towards an optimal values.
  326. @@polygon_swap_threshold
  327. This sets the minimum number of connected line segments before
  328. swapping them to the disc.  Swapping all connected segments does
  329. not significantly give a better sort, but can have a significant
  330. increase in plotting time.   A good value is one that is slightly
  331. less than the average number of connected segments.  For a
  332. starting value, 5 works well.  Range of values is 1 to 999.
  333. @@no_lables_flag
  334. This flag controls how HPSORT supports the Label command.  There
  335. are two methods of printing text on a drawing.  Programs such as
  336. AUTOCAD, output all text as a series of line segments.  This
  337. permits the program to support a variety of fonts.  Some programs
  338. such as ORCAD or SCHEMA, use only those fonts built into the
  339. plotter.  Some programs such as Point Line CADD, use both
  340. methods.  
  341.  
  342. Setting this parameter to NO effectively increases the amount of
  343. memory available for sorting lines.
  344. @@ignore_single_space_lables
  345. If the CADD program is try to plot a single space character using
  346. the built in plotter fonts, ignore the command.  This parameter
  347. normally should be to YES.  
  348. @@pos_lables_rel
  349. This parameter controls positioning of lables using relative
  350. instead of absolute positioning.  This results in smaller output
  351. files.  If the "Resync Count" parameter (next item in list)
  352. describe what this does.
  353. @@label_resync_count
  354. This parameter controls positioning of labels using relative
  355. instead of absolute positioning.
  356.  
  357.           What is "absolute" and "relative" positioning?
  358.  
  359. Absolute positioning is where each command tells the plotter
  360. exactly where to position the pen on the paper independent of any
  361. other move.  Therefore, the pen is always in the position where
  362. the CAD program expects it to be.  An example would be -
  363.  
  364.      Move Pen Up to 1000,1000
  365.      Place Pen Down
  366.      Move to 1400,1000
  367.      Move to 1400,1400
  368.      Move to 1000,1400
  369.      Move to 1000,1000
  370.  
  371. The numbers are in plotter units and draw a square 1 cm on a
  372. side.
  373.  
  374.  
  375.  Using the same example as above, HPSORT would output 
  376.  
  377.      Move Pen Up to 1000,1000 in absolute mode
  378.      Place Pen Down
  379.      Shift to relative mode 
  380.      Move right 400 units
  381.      Move up 400 units
  382.      Move left 400 units
  383.      Move down 400 units
  384.  
  385. Notice that in the relative example, there is only one command to
  386. tell the plotter exactly where to move.  The rest of the commands
  387. are move left, right, up or down commands.  They assume that the
  388. plotter pen is where it is suppose to be.  Due to cumulative
  389. errors in both calculations and mechanical positioning in the
  390. plotter, every once in a while, a absolute positioning command
  391. must be done. 
  392.  
  393. The larger this parameter, the more the file size is reduced. 
  394. But the larger the chance of plotting errors.  Legal values range
  395. from 2 to 999.  Values of 5 to 20 are effective.
  396. @@short_near_vector_length
  397. Before sending a vector to the output device, HPSORT checks to
  398. see if a "short" vector touches it.  If yes, then HPSORT draws
  399. the "short" vector first.  Range is 0 to 99.99mm, with 5 to 10mm
  400. being a good value.  If this value is too large, it is counter
  401. productive towards sorting.  
  402.  
  403. Consider the lines in the
  404.                                   #1
  405.                                     \
  406.                                      \
  407.                                       \
  408.                                     #2 +--------------------#3figure to the right. During
  409. the sorting process,  HPSORT
  410. decides the next line to draw
  411. is from points #2 to #3.
  412.  
  413. This parameter instructs
  414. HPSORT to check to see if a
  415. "short" line is connected to
  416. the line about to be drawn.  In this case, it is the line from
  417. points #1 to #2.  If the length of the line from points #1 to #2
  418. is less than or equal to the value of this parameter, then HPSORT
  419. will output the following sequence:
  420.  
  421. a.   Move with the pen up to position #1.
  422. b.   Lower the pen and draw a line from point #1 to #2.
  423. c.   Lower the pen and draw a line from point #2 to #3.
  424.  
  425. @@label_buffer_space
  426. Number of kilobytes of memory to reserve for the to store the
  427. actual text of the lables.  Range of values is 3 to 64.  Use
  428. label statistics to determine a good value.  If the maximum value
  429. printed on the stat's is "close" to the current value, try
  430. increasing this value by 10%.
  431. @@max_number_lables
  432. This is the maximum number of lables to reserve space for before
  433. outputing the buffer.  Use label statistics to determine a good
  434.  
  435. value.  If the maximum value printed on the stat's is "close" to
  436. the current value, try increasing this value by 10%.
  437. @@print_label_stats
  438. This parameter turns on the printing of the lables statistics. 
  439. These statistics are useful in adjusting the other parameters
  440. towards an optimal values.
  441. @@default_font_99
  442. This parameter when YES will change the appearance of some or all
  443. the text on your drawing for those CAD programs that use the
  444. built in plotter fonts.  Normally font 0 is used.  While this
  445. font is okay, the 5, 6 & S and 8 & B characters are difficult to
  446. tell apart.  HPSORT can substitute plotter font 99 which is
  447. designed to make telling these characters apart easier.  
  448. @@buffered_serial_io
  449. HPSORT contains a simple serial port spooling program when the
  450. output device is either COM1, COM2, COM3 or COM4.  This exists so 
  451. if you do not already have a spooling program on your system,
  452. HPSORT can send data to the plotter while it is processing.  
  453.  
  454. There are two restrictions on this function:
  455.  
  456. 1 -  The plotter must use the hardware same style of handshaking
  457.      as used by MS-DOS.  If you can copy your file to the plotter
  458.      using the MS-DOS "COPY" command, there will be no problems
  459.      with the built in spooler. 
  460.  
  461. 2 -  HPSORT will not exit until the plotter has received all of
  462.      the data.
  463. @@buffered_serial_io_buf
  464. When enabling the serial port buffering, this is the number of
  465. kilobytes of memory to reserve.   Value can be from 3kb to 32kb.
  466. @@set_serial_params
  467. This parameter has meaning only when the output file is either
  468. COM1, COM2, COM3 or COM4.  When this parameter is  NO, HPSORT
  469. does not change the parameters from when the program begins.  If
  470. YES, then the parameters are reset from the parameters on the
  471. rest of this screen.
  472. @@serial_io_baud
  473. Baud Rate to set serial port to.  Must be  the same value as the
  474. plotter.  Legal values are only those values displayed.
  475. @@serial_io_parity
  476. Can be only one of the three values listed in the options menu. 
  477. Must be  the same value as the plotter.
  478. @@serial_io_stop_bits
  479. Legal values are 1 or 2.  Must be the same value as the plotter.
  480. Normally, will be 1 unless sending at 110 baud.
  481. @@serial_data_size
  482. Number of bits in each data byte sent.  Must be the same as the
  483. plotter.  Normally, will be 8, but can be 7.
  484. @@default_output_file
  485. Default name of file to send output.  When HPSORT runs, this is
  486. the file name used if no output file is present.  The default
  487. value is HPSORT.OUT.  
  488.  
  489. This field can contain a device name.  For example if the value
  490. is COM1:, all output would by default goes to serial port #1.
  491.  
  492. NOTE:     If the parameter to "Rename Output to Input" is YES,
  493.           then this parameter has no meaning.
  494. @@rename_output_to_input
  495.  
  496. If set to YES, HPSORT sends it's output  to a temporary file. 
  497. When HPSORT completes, the input file is renamed with a ".BAK"
  498. extension and the temporary output file will be renamed to the
  499. input file name.
  500. @@add_output_to_zip
  501. If you routinely use service bureaus to plot your drawings, these
  502. can be compressed by a programs such as ARC, PKXARC, LHARC, etc. 
  503. By setting this parameter to YES, HPSORT will automatically send
  504. the output file to the compression program.  The rest of the
  505. parameters, define how to pre-form this operation.
  506.  
  507. WARNINGS: You should make sure that the output file name is
  508.           always unique.  If not, then your compressed file will
  509.           contain only the last file processed.  
  510. @@zip_program_name
  511. Name of you compression program to use.  This program must be the
  512. current directory or path.
  513. @@zip_program_commands
  514. List of any commands required by the compression program to
  515. process your file.
  516. @@zip_file
  517. Name of compression file to use.  At present you cannot select
  518. from the command line, the name of the compressed file.
  519. @
  520.   
  521.  
  522.   
  523.   
  524.  
  525.   
  526.   
  527.  
  528.   
  529.   
  530.   
  531.  
  532.   
  533.   
  534.  
  535.   
  536.   
  537.  
  538.   
  539.   
  540.   
  541.  
  542.   
  543.   
  544.  
  545.   
  546.   
  547.  
  548.   
  549.   
  550.  
  551.   
  552.   
  553.